package TUILayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The test class AddressBookUITest.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class AddressBookUITest
{
    /**
     * Default constructor for test class AddressBookUITest
     */
    public AddressBookUITest()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }

    @Test
    public void start()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
    }

    @Test
    public void addressMenu()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
    }

    @Test
    public void writeAddressBookMenu()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
    }

    

    @Test
    public void inputPersonsID1()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
        assertEquals(1, addressB1.inputPersonsID());
    }

    

    @Test
    public void inputNameBent()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
        assertEquals("Bent", addressB1.inputName());
    }

    @Test
    public void inputPostalCode9000()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
        assertEquals("9000", addressB1.inputPostalCode());
    }

    @Test
    public void inputCityAalborg()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
        assertEquals("Aalborg", addressB1.inputCity());
    }

    @Test
    public void inputPhone88888888()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
        assertEquals("88888888", addressB1.inputPhone());
    }

    @Test
    public void inputAddressHer()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
        assertEquals("Her", addressB1.inputAddress());
    }

    @Test
    public void addPerson()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
        addressB1.addPerson();
    }

    @Test
    public void showId()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
    }

    @Test
    public void showName()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
    }

    @Test
    public void showAddress()
    {
        TUILayer.AddressBookUI addressB1 = new TUILayer.AddressBookUI();
        addressB1.showAddress("Her");
    }
}















